/**
 * Copyright 2018 asiainfo Inc.
 **/
package com.myz.service.order.web;

import com.myz.service.order.service.IHelloServcie;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author maoyz on 2018/9/7
 * @version: v1.0
 */
@RequestMapping("/order")
@RestController
public class HelloController {

    @Autowired
    private IHelloServcie helloServcie;

    @RequestMapping("/hello")
    public String hello() {
        return helloServcie.index();
    }
}
